﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="registration.aspx.vb" Inherits="registration" title="MoBiLe-Registration Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


    <style type="text/css">
        .style1
        {
            font-size: large;
            color: #0066FF;
        }
        .style2
        {
            width: 279px;
        }
        .style3
        {
            width: 123px;
        }
        .style4
        {
            height: 10px;
            width: 123px;
        }
        .style5
        {
            width: 123px;
            height: 28px;
        }
        .style6
        {
            width: 279px;
            height: 28px;
        }
    </style>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
   <center>
    <span class="style1">Registration</span>

        <br />
       <br />
<table width="90%" class="Table" border="0">
           
        <tr>
            <td align="right" class="style3" valign="top">
                <asp:Label ID="lblUserName" runat="server" Text="User Name:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="txtUserName" runat="server" MaxLength="20" Width="150px" 
                    CssClass="TextBox" TabIndex="1" ValidationGroup="reg" AutoPostBack="True"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="txtUserName"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
                <br />
                <asp:Button ID="Button1" runat="server" Text="Check Avalibility" 
                    Width="149px" TabIndex="2" />
&nbsp;<asp:Label ID="Label1" runat="server" style="color: #FF0000"></asp:Label>
            </td>
        </tr> 
             
        <tr>
            <td align="right" class="style3">
                <asp:Label ID="lblPassword" runat="server" Text="Password:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="txtPassword" runat="server" Width="150px" CssClass="TextBox" 
                    TextMode="Password" TabIndex="3"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="rfvPassword" ControlToValidate="txtPassword"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
            </td>
        </tr>

        <tr>
            <td align="right" class="style3">
                <asp:Label ID="lblRetypePassword" runat="server" Text="Retype Password:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="txtRetypePassword" runat="server" Width="150px" 
                    CssClass="TextBox" TextMode="Password" TabIndex="4"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="rfvRetypePassword" ControlToValidate="txtRetypePassword"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ErrorMessage="Retype Password is not match." 
                    ControlToCompare="txtPassword" ControlToValidate="txtRetypePassword" 
                    ValidationGroup="reg"></asp:CompareValidator>
            </td>
        </tr>
        
        
                <tr>
            <td align="right" class="style3">
                <asp:Label ID="Label4" runat="server" Text="First Name:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="TextBox3" runat="server" Width="150px" CssClass="TextBox"  
                    TabIndex="5"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator4" ControlToValidate="TextBox3"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
            </td>
        </tr>
        
        
                <tr>
            <td align="right" class="style3">
                <asp:Label ID="Label5" runat="server" Text="Last Name:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="TextBox4" runat="server" Width="150px" CssClass="TextBox"  
                    TabIndex="6"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator5" ControlToValidate="TextBox4"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
            </td>
        </tr>
        
        
        
        <tr>
            <td align="right" class="style5" > 
                <asp:Label ID="lblLocation" runat="server" Text="Location:" Width="61px" CssClass="Caption"></asp:Label></td>
            <td align="left" class="style6">
                <asp:DropDownList ID="ddlLocation" runat="server" Height="20px" 
                    CssClass="TextBox" TabIndex="7">
                    <asp:ListItem>India</asp:ListItem>
                    <asp:ListItem>Pakistan</asp:ListItem>
                    <asp:ListItem>UK</asp:ListItem>
                    <asp:ListItem>USA</asp:ListItem>
                    <asp:ListItem>Srilanka</asp:ListItem>
                    <asp:ListItem>South Africa</asp:ListItem>
                    <asp:ListItem>West Indies</asp:ListItem>
                    <asp:ListItem>Australia</asp:ListItem>
                    <asp:ListItem>Bangladesh</asp:ListItem>
                    <asp:ListItem>Afghanistan</asp:ListItem>
                    <asp:ListItem>New Zealand</asp:ListItem>
                </asp:DropDownList>
                <asp:RequiredFieldValidator runat="server" ID="rfvLocation" ControlToValidate="ddlLocation"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td align="right" class="style3">
                <asp:Label ID="lblBirthDate" runat="server" Text="Birth Date:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="txtBirthDate" runat="server" Width="151px" CssClass="TextBox" 
                    TabIndex="8"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="rfvBirthDate" ControlToValidate="txtBirthDate"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
                <asp:Label ID="Label6" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
       
        <tr>
            <td align="right" class="style3" >
                <asp:Label ID="lblGender" runat="server" Text="Gender:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:RadioButton ID="rbtnMale" runat="server"  Text="Male" Height="20px" 
                    Width="50px" CssClass="TextBox" Checked="True" GroupName="Gender" TabIndex="9"/>
                <asp:RadioButton ID="rbtnFemale" runat="server"  Text="Female" Height="20px" 
                    Width="70px" CssClass="TextBox" GroupName="Gender" TabIndex="11"/>
            </td>
        </tr>

        <tr>
            <td align="right" valign="top" class="style3">
                <asp:Label ID="lblEmail" runat="server" Text="Email:" CssClass="Caption"></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="txtEmail" runat="server" Width="200px" CssClass="TextBox" 
                    TabIndex="12"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="rfvEmail" ControlToValidate="txtEmail"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" SetFocusOnError="True"
                    Width="21px" ValidationGroup="reg"> * </asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revEmail" runat="server" 
                    ErrorMessage="Enter Proper Email Address." SetFocusOnError="true"
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ControlToValidate="txtEmail" ValidationGroup="reg"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style4">
                Secuirity Question:</td>
            <td style="text-align: left">
                <asp:TextBox ID="TextBox1" runat="server" TabIndex="13" Width="151px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="TextBox1" ErrorMessage="*" ValidationGroup="reg"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        
                <tr>
            <td class="style4">
                Answer</td>
            <td style="text-align: left">
                <asp:TextBox ID="TextBox2" runat="server" TabIndex="14" Width="151px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="TextBox2" ErrorMessage="*" ValidationGroup="reg"></asp:RequiredFieldValidator>
            </td>
        </tr>
        

        
        
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td>
                <asp:Label ID="Label2" runat="server"></asp:Label>
                <br />
                <asp:Label ID="Label3" runat="server" Text="what you do want to next ? "></asp:Label>
                <br />
                <asp:LinkButton ID="LinkButton7" runat="server" TabIndex="15">Want to Upload pictures</asp:LinkButton>
                <br />
                <asp:LinkButton ID="LinkButton6" runat="server" TabIndex="16">Search Photos</asp:LinkButton>
            </td>
        </tr>
        
        
        <tr>
            <td colspan="2" align ="center">
            <table>
                <tr>
                    <td style="width:15%" align="right">
                        <asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="Actions" 
                            TabIndex="17" ValidationGroup="reg"/>
                    </td>
                    <td style="width:15%" align="left">
                        <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="Actions" 
                            TabIndex="18" CausesValidation="False"/>
                    </td>
                </tr>
            </table>
            </td>
        </tr>
    </table>
        <br />
    
    </center>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

